import { GoodsSearchDto } from "@/models/goods/GoodsSearchDto";
import { http } from "@/utils/http";

/**
 * 
 * @param goodsSerachDto 搜索条件
 * @returns 
 */
export async function getGoodsList(goodsSerachDto: GoodsSearchDto|null|undefined) {
    return await http.get("/api/goods/list", goodsSerachDto??{keyword:""});
}

